package com.financial.business.yspay.service;

import com.financial.business.yspay.domain.FinancialSplitYsDO;
import com.financial.business.yspay.utils.apiresult.ApiResult;

import java.util.List;
import java.util.Map;

/**
 * 银盛分账信息表
 *
 * @author WANGNING
 * @email wyn20140226@aliyun.com
 * @date 2019-11-11 10:11:57
 * @des
 */

public interface FinancialSplitYsService {

    FinancialSplitYsDO get(Integer id);

    List<FinancialSplitYsDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(FinancialSplitYsDO financialSplitYs);

    int update(FinancialSplitYsDO financialSplitYs);

    /**
     * 银盛一清分账
     *
     * @param requestParam
     * @return
     */
    ApiResult ysSplit(String requestParam);

    /**
     * 通过map查询一条分账记录
     *
     * @param condMap
     * @return
     */
    String query(Map<String, Object> condMap);
}
